package com.example.flight.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.flight.common.BuyException;
import com.example.flight.entity.OrderEntity;
import java.util.List;


/**
 * 
 *
 * @author hws
 * @email 231884142@qq.com
 * @date 2023-06-12 13:59:24
 */
public interface OrderService extends IService<OrderEntity> {

    List<OrderEntity> listByUid(String uid);
    boolean buy(OrderEntity order) throws BuyException;
    List<OrderEntity> listByIDNum(String identityNumber);
}

